/* Global Styling */

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
    font-size: 62.5%;   /* 1 rem = 10 px s */
}


body{
    font-family: 'Poppins', sans-serif;
}

h1{
    font-size: 2.6rem;
}

li,label,input,button,p{
    font-size: 2rem;
}

h2{
    font-size: 4.8rem;
}

h3{
    font-size: 3rem;
    font-weight: normal;
}

h4,h5{
    font-size: 2.8rem;
}

a{
    color: gold;
    text-decoration: none;
}
button{
    padding: 2rem 6rem;
    background: gold;
    border: none;
    color: black;
    font-size: 1.8rem;
    cursor: pointer;
    transition: background 1s ease;
}
button:hover{
    background: black ;
    color: gold;
}

/* Nav Section */
.main-head{
    background-color: black;
    color:gold;
}

nav{
    padding: 2rem;
    min-height: 10vh;
    display: flex;
    width: 90%;
    margin: auto;
    align-items: center;
    flex-wrap: wrap;
}

nav ul{
    display: flex;
    flex: 3 1 40rem;           /* for spacing Between List Elements */
    justify-content: space-around;
    align-items: center;
    list-style: none;
}

#logo{
    flex: 2 1 40rem;    /* for spacing Between Logo */
    font-family: 'Pattaya', sans-serif;
    font-weight: 400;
}

.college{
    min-height: 90vh;
    background :linear-gradient(rgba(0,0,0,0.5), transparent), url("/media/main-banner2.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    color:white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.college h3{
    padding: 5rem;
    text-shadow: 5px 5px 5px black;
}
.college h2{
    text-shadow: 5px 5px 5px black;
}

/* LOCATION SECTION */
#Description{
    min-height: 100vh;
    background :linear-gradient(rgba(0,0,0,0.5), transparent),url("/media/main-banner.jpg");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.Description-head
{
  width: 90%;
  margin: auto;
}

.Description-head h2{
    padding: 1rem 0rem;
    text-decoration: underline;
    color: white;
    text-shadow: 5px 5px 5px black;
}

.Description-head h3
{
    padding: 4rem 0rem;
    color: white;
    text-shadow: 5px 5px 5px black;
}

.cap{
    position: absolute;
    top: 0%;
    right: 0%;
}
.moving-cap-1{
    animation: capAnimation 3s ease-in-out alternate infinite;
}

.moving-cap-2{
   top:20%;
   z-index: -1;
   opacity: 0.5;
   animation: capAnimation 3.5s ease-in-out alternate infinite;

}
/*  Animation */
@keyframes capAnimation {

 from{
transform: translate(10%,-10%);
 }
to{
transform: translate(0%,0%);
}

}

.footer{
    min-height: 10rem;
background-color: black;
color:gold;
font-size:1rem;
text-align: center;
padding-top: 3rem;

}



/* Media Queries */
@media screen and (max-width:1050px){
html{
    font-size: 45%;
}
    nav{
        text-align: center;
    }
    nav li{
        margin-left: 1rem;
    }
    #logo{
      padding: 2rem;
    }
    .cap{
        height: 70rem;
    }
    .moving-cap-1{
        z-index: -1;
    }
    .moving-cap-2{
        z-index: -2;
    }
    .footer{
        font-size: 1rem;
    }
}